package com.six.flower

import org.mybatis.spring.annotation.MapperScan
import org.springframework.boot.SpringApplication
import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.cloud.client.discovery.EnableDiscoveryClient
import org.springframework.context.annotation.ComponentScan


@SpringBootApplication
@MapperScan(*["com.gitee.sunchenbin.mybatis.actable.dao.*","com.six.flower.mapper"])
@ComponentScan(basePackages = ["com.gitee.sunchenbin.mybatis.actable.manager.*", "com.six.flower.*"])

@EnableDiscoveryClient//开启服务注册发现功能
class FlowerApplication


fun main(args: Array<String>) {
    SpringApplication.run(FlowerApplication::class.java, *args)
}